<%@ page contentType="text/html; charset=UTF-8" %>
<html>
<head>
	<title>客户选择</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta http-equiv="Pragma" content="no-cache"><meta http-equiv="Cache-Control" content="no-cache"><meta http-equiv="Expires" content="0">
	<link href="${pageContext.request.contextPath}/css/css.css" rel=stylesheet>
	<link rel="stylesheet" href="${pageContext.request.contextPath}/css/button_css.css" type="text/css">
	<link rel="stylesheet" href="${pageContext.request.contextPath}/css/form_css.css" type="text/css">
	<link rel="stylesheet" href="${pageContext.request.contextPath}/css/table_css.css" type="text/css">
	<link rel="stylesheet" href="${pageContext.request.contextPath}/css/pagetitle_css.css" type="text/css">
	<script language="javascript" src="${pageContext.request.contextPath}/script/common.js"></script>
         <script language="javascript">
        	function queryData(){
                document.forms["customerForm"].submit();
			}
			function selectRow(row){
				var customer = {};
				customer["customerId"] = row.id;
				customer["customerFullName"] = row.cells[1].innerHTML;
				customer["customerName"] = row.cells[2].innerHTML;
				customer["linkmanName"] = row.cells[5].innerHTML;
				window.returnValue = customer;
				window.close();
			}
			
			function cancel(){
				window.returnValue = null;
				window.close();
			}
        </script>
</head>
<body bgcolor="#ffffff" onload="queryData()">
  <form name="customerForm" method="post" action="${pageContext.request.contextPath}/baseinfo/customerManager.do" target="customerListFrame">
  		<input type="hidden" name="method" value="selectCustomerList"/>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" height="30">
			<tr> 
			  <td width="22" class="page_titlebar_head">&nbsp;</td>
			  <td class="page_titlebar_bg" width="100%">客户选择</td>
			</tr>
		  </table>
        <center>
        <table width="90%" border="0" cellspacing="0" cellpadding="0">
	      <tr> 
	        <td width="50%"  class=td5px style="BORDER-LEFT: #999999 1px solid;BORDER-top: #999999 1px solid;BORDER-bottom: #999999 1px solid;" height="25">&nbsp;</td>
	        <td width="50%"  class=td5px style="BORDER-top: #999999 1px solid;BORDER-bottom: #999999 1px solid;BORDER-RIGHT: #999999 1px solid;" height="25" align="right"><nobr><font color="#003399"><b> 
	          &nbsp; 客户名：</b></font> 
	          <input class="input" type="text" name="customerName" style="width:120px"/>
	          <input type="submit" name="Submit" value="      搜索 " class="button_find">&nbsp;
                <input type="button" class="button_common" name="cancelBtn" value="取消" onclick="cancel()"/>
	          </nobr> </td>
	      </tr>
	    </table>
	    </center>
  </form>
  <center>
  <iframe id="customerListFrame" name="customerListFrame" width="90%" frameborder="0" height="520px" scrolling="auto" src="" style="margin-top:-15px"></iframe>
  </center>
</body>
</html>
